package com.xdf.docmanagementsystem.dao;

import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;
import com.xdf.docmanagementsystem.entity.DocDepartment;
import org.apache.ibatis.annotations.Param;
import com.xdf.docmanagementsystem.common.util.Example;
/**
* @Description : 文档部门
* @Author : ZK
* @Date : 2020-06-22 15:16:03
*/
@Repository
public interface DocDepartmentMapper{
    int insert(DocDepartment record);

    int insertSelective(DocDepartment record);

    int multiInsert(List<DocDepartment> list);

    int insertDumplicateKeyUpdate(DocDepartment record);

    int updateByPrimaryKey(DocDepartment record);

    int updateByPrimaryKeySelective(DocDepartment record);

    int multiUpdate(List<DocDepartment> list);

    int deleteByPrimaryKey(Integer id);

    DocDepartment selectByPrimaryKey(Integer id);

    List<DocDepartment> selectAll();

    List<DocDepartment> selectByParam(DocDepartment record);

    int updateByExampleSelective(@Param("record") DocDepartment record,@Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<DocDepartment> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") DocDepartment record,@Param("example") Example example);
}